package com.mindata.blockchain.core.model;

import com.mindata.blockchain.core.model.base.BaseEntity;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author ycw
 * @Date 2023/3/29 15:17
 * @Version 1.0
 */
@Entity
@Table(name = "gw_account")
@Data
public class GwAccount extends BaseEntity {


    /**
     * 用户账户 唯一标识
     */
    private String uAId;
    /**
     * 用户唯一标识
     */
    private String uId;
    /**
     * 账户id
     */
    private String aId;
    /**
     * 平台id
     */
    private String pId;
    /**
     * 账户金额
     */
    private BigDecimal aAmount;
    /**
     * 账户创建区块哈希
     */
    private String cBlockHash;

}
